<!DOCTYPE html>
<html lang="zh-cn">
<head>
{include file="public/header" /}
</head>
<body>
<div class="panel admin-panel">
<div class="panel-head"><strong class="icon-menu"> 来访用户IP</strong></div>
<form method="post" action="" id="listform">
    <table class="table table-hover text-center">
      <tr>
        <th width="100" style="text-align:left; padding-left:20px;">ID</th>
        <th>国家</th>
        <th>简称</th>
        <th>省份</th>
        <th>市区</th>
        <th>乡县</th>
        <th>邮编</th>
        <th>运营商</th>
        <th width="10%">IP地址</th>
        <th width="310">来访时间</th>
      </tr>
      {volist name="userips" id="vo"}
        <tr>
          <td style="text-align:left; padding-left:20px; padding-top: 20px; padding-bottom: 20px;">{$vo.id}</td>
          <td>{$vo.country}</td>
          <td>{$vo.country_id}</td>
          <td>{$vo.region}</td>
          <td>{$vo.city}</td>
          <td>{$vo.county}</td>
          <td>{if condition="($vo.county_id != 0) "} {$vo.county_id} {else /} {$vo.city_id} {/if}</td>
          <td>{$vo.isp}</td>
          <td>{$vo.ip}</td>
          <td>{$vo['time']|date='Y-m-d',###}</td>
        </tr>
        {/volist}
    </table>
  </div>
  {$userips->render()}
</form>
</body>
</html>